/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.soa.service.busi.wx;

import com.lianzt.commondata.AbstractCommonData;
import com.soa.service.BaseService;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.springframework.stereotype.Service;

/**
 *  S90003
 * 预约信息录入
 * @author chang
 */
@Service
public class Yyxxlr extends BaseService{

    @Override
    public String[] keys() {
        return null;
    }

    @Override
    public void execute(AbstractCommonData in, AbstractCommonData inhead, AbstractCommonData out, AbstractCommonData outhead) {
        String jyjgbh= in.getStringValue("jyjgbh");
        String jczm= in.getStringValue("jczm");
        try {
            jczm = URLDecoder.decode(jczm, "utf-8");
        } catch (UnsupportedEncodingException ex) {
            Logger.getLogger(Yyxxlr.class.getName()).log(Level.SEVERE, null, ex);
        }
        //获取车辆类型
        List<AbstractCommonData> list = queryList("query_cllx", new Object[]{});
        out.putStringValue("jczm", jczm);
        out.putStringValue("jyjgbh", jyjgbh);
        out.putArrayValue("cllx", list);
        out.putStringValue("view", "/wx/yuyue");
    }
    
}
